package com.guotd.ticketSystem.mapper;

import com.guotd.ticketSystem.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.sql.Date;
import java.util.List;


public interface OrderMapper {

     int addOrder(Order order);

     void p2(Order order);

     List<Order> selectOrders(String userId);

     int payOrder(String id);

     int cancelOrder(String id);

     List<Order> getOrders(String flightId);

     int delOrder(String id);
}
